#include "mainwindow.h"
#include "ui_mainwindow.h"
#include<QDialog>
MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::MainWindow)
{
    ui->setupUi(this);
    connect(ui->action_save,&QAction::triggered,[=](){
        QDialog dig(this);
        dig.resize(200,100);
       // dig->setAttribute(Qt::WA_DeleteOnClose);
        dig.setModal(false);
        dig.exec();
       // _sleep(5000);

    });
}

MainWindow::~MainWindow()
{
    delete ui;
}

